package com.example.petproject.entity.dto;

import io.swagger.v3.oas.annotations.media.Schema;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 包名称：com.example.petproject.controller
 * 类名称：postComment
 * 类描述：发表评价参数实体类
 * 创建人：@author DrinkMore-HotWater
 * 创建时间：2024年01月16日 15:22
 **/
@Schema(name = "发表评价参数实体类",description = "发表评价参数实体类")
public class PostCommentDTO {
    @Schema(description = "商品ID")
    private Long spuId;

    @Schema(description = "评论内容")
    private String content;

    @Schema(description = "评论星数：0->5")
    private Integer star;

    @Schema(description = "评论图片的多个id字符串")
    private List<Long> imgIds;


    public Long getSpuId() {
        return spuId;
    }

    public void setSpuId(Long spuId) {
        this.spuId = spuId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getStar() {
        return star;
    }

    public void setStar(Integer star) {
        this.star = star;
    }

    public List<Long> getImgIds() {
        return imgIds;
    }

    public void setImgIds(List<Long> imgIds) {
        this.imgIds = imgIds;
    }
}
